From: Maxim Ermilov Date: Mon, 24 Jan 2011 23:38:16 +0000 (+0300) Subject: Unselect search button if there is search result X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9184 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=61869d7db19490b85ce5430c3ab45a134d8023cf;p=gnome-shell.git Unselect search button if there is search result https://bugzilla.gnome.org/show_bug.cgi?id=640464 --- diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js index 45fccd6ea..3ed60ad5e 100644 --- a/js/ui/searchDisplay.js +++ b/js/ui/searchDisplay.js @@ -309,6 +309,8 @@ SearchResults.prototype = { this._statusText.set_text(_("No matching results.")); this._statusText.show(); } else { + this._selectedOpenSearchButton = -1; + this._updateOpenSearchButtonState(); this._statusText.hide(); }